package netty_5_demo;

import java.io.Serializable;

//实体序列化
public class UserEntity implements Serializable {

    private Integer id;
    private String userName;

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {

        this.id = id;
    }

    public String getUserName() {

        return userName;
    }

    public void setUserName(String userName) {

        this.userName = userName;
    }
}
